/**
 * 
 */
package it.unical.canonaco.rende.igpe.game.cbv.logiclayer.engine.events;

import org.json.simple.JSONObject;

import it.unical.canonaco.rende.igpe.game.cbv.logiclayer.engine.GUIDStorage;

/**
 * @author Massimo Canonaco
 *
 */
public class SelectedAbilityEvent implements GenericEvent 
{
	/** */
	static public final float GUID = GUIDStorage.SELECTED_ABILITY_EVENT;
	
	/** */
	private String abilityName;
	
	/** */
	private float radius;
	/* (non-Javadoc)
	 * @see it.unical.canonaco.rende.igpe.game.cbv.logiclayer.engine.events.GenericEvent#getGUID()
	 */
	@Override
	public float getGUID() 
	{
		return GUID;
	}

	public SelectedAbilityEvent(final String name, final float radius)
	{
		abilityName = name;
		this.radius = radius;
	}
	/* (non-Javadoc)
	 * @see it.unical.canonaco.rende.igpe.game.cbv.logiclayer.engine.events.GenericEvent#getName()
	 */
	@Override
	public String getName() {
		// TODO Auto-generated method stub
		return null;
	}

	/**
	 * @return the abilityName
	 */
	public String getAbilityName() {
		return abilityName;
	}

	/**
	 * @param abilityName the abilityName to set
	 */
	public void setAbilityName(String abilityName) {
		this.abilityName = abilityName;
	}

	/**
	 * @return the radius
	 */
	public float getRadius() {
		return radius;
	}

	/**
	 * @param radius the radius to set
	 */
	public void setRadius(float radius) {
		this.radius = radius;
	}

	@Override
	public JSONObject getAsJSONObject() 
	{
		return null;
	}

	@Override
	public void setFromJSONOnbject(JSONObject object) 
	{
		
	}

}
